home *** CD-ROM | disk | FTP | other *** search
- /*****************************************************
- ; Filename : mouse.h
- ;
- ; Date : 24-6-94
- ; Mod. Date :
- ;
- ; Others : Obtained from Ferraro
- ; : VGA Trainer (smith9@batis.bis.und.ac.za)
- ; ; VGL20 (morley@camosun.bc.ca)
- ;****************************************************/
- #ifndef MOUSE_H
- #define MOUSE_H
- int cursor[]={
- 0x87ff, //1000011111111111b,
- 0x87ff, //1000011111111111b,
- 0x87ff, //1000011111111111b,
- 0x807f, //1000000001111111b,
- 0x8007, //1000000000000111b,
- 0x8003, //1000000000000011b,
- 0x8001, //1000000000000001b,
- 0x8001, //1000000000000001b,
- 0x8001, //1000000000000001b,
- 0x8001, //1000000000000001b,
- 0x8003, //1000000000000011b,
- 0x8003, //1000000000000011b,
- 0xc003, //1100000000000011b,
- 0xc007, //1100000000000111b,
- 0xe007, //1110000000000111b,
- 0xffff, //1111111111111111b,
-
- 0x0000, //0000000000000000b,
- 0x3000, //0011000000000000b,
- 0x3000, //0011000000000000b,
- 0x3000, //0011000000000000b,
- 0x3b00, //0011101100000000b,
- 0x3bb8, //0011101110111000b,
- 0x3bbc, //0011101110111100b,
- 0x3ffc, //0011111111111100b,
- 0x3ffc, //0011111111111100b,
- 0x3ffc, //0011111111111100b,
- 0x3ff8, //0011111111111000b,
- 0x3ff8, //0011111111111000b,
- 0x1ff8, //0001111111111000b,
- 0x1ff0, //0001111111110000b,
- 0x0000, //0000000000000000b,
- 0x0000, //0000000000000000b,
-
- };
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- int mtInitMouse();
- void mtShowMouse();
- void mtHideMouse();
- void mtGetMousePos(int *button, int *x, int *y);
- void mtSetMousePos(int x, int y);
- int mtGetMousePress(int button, int *count, int *x, int *y);
- int mtGetMouseRel(int button, int *count, int *x, int *y);
- void mtSetMouseWin(int x1,int y1,int x2, int y2);
- void mtSetDefCursor();
- void mtSetCursor(int *array);
- void mtSetMickeyRatio(int x,int y);
- void mtSetExclusiveArea(int x1,int y1,int x2,int y2);
- void mtSetDoubleSpeed(int x);
- void mtResetMouse(void);
-
-
- #ifdef __cplusplus
- }
- #endif
-
- #endif MOUSE_H
-
-